# Error types for the gateway ros api

# General
int8 SUCCESS = 0
int8 NO_HUB_CONNECTION = 1

# Hub
int8 HUB_CONNECTION_ALREADY_EXISTS = 11
int8 HUB_CONNECTION_UNRESOLVABLE = 12
int8 HUB_CONNECTION_BLACKLISTED = 13
int8 HUB_CONNECTION_FAILED = 14
int8 HUB_CONNECTION_NOT_IN_NONEMPTY_WHITELIST = 15
int8 HUB_NAME_NOT_FOUND = 16
int8 HUB_CONNECTION_LOST = 17
int8 HUB_UNKNOWN_ERROR = 19

# Flipping
int8 FLIP_RULE_ALREADY_EXISTS = 22
int8 FLIP_PATTERN_ALREDY_EXISTS = 23
int8 FLIP_REMOTE_GATEWAY_FIREWALLING = 24

# Advertise
int8 ADVERTISEMENT_EXISTS = 31
int8 ADVERTISEMENT_NOT_FOUND = 32
int8 UNKNOWN_ADVERTISEMENT_ERROR = 39

# Pulling
int8 PULL_RULE_ALREADY_EXISTS = 41

# Remotes
int8 REMOTE_GATEWAY_NOT_VISIBLE = 51
int8 REMOTE_GATEWAY_SELF_IS_NOT = 52
int8 REMOTE_GATEWAY_TARGET_HAS_MULTIPLE_MATCHES = 53